package com.lists;

public class ListNodeDouble extends ListNode{

	ListNodeDouble beforeNode;
	
	public ListNodeDouble(Object object) {
		super(object);
		beforeNode = null;
	}
	
	public ListNodeDouble(Object object, ListNodeDouble before, ListNodeDouble after) {
		super(object, after);
		beforeNode = before;
	}
	
	public ListNodeDouble getBeforeNode() {
		return beforeNode;
	}
	
	public void setBeforeNode(ListNodeDouble beforeNode) {
		this.beforeNode = beforeNode;
	}
	
}
